from django.db import models

class WeatherData(models.Model):
    date = models.CharField(max_length=20)
    weather = models.CharField(max_length=100)
    temperature = models.CharField(max_length=50)
    wind = models.CharField(max_length=100)
    
    class Meta:
        db_table = 'weather_app_weatherdata'
        
    def __str__(self):
        return f"{self.date} - {self.weather}"
